<template>
  <div class="login-page">
    <Welcom @changePage="isWel = false" v-if="isWel"/>
    <Login v-else/>
  </div>
</template>

<script setup  >
    import {ref} from 'vue'

    import Welcom from './Welcom.vue'
    import Login from './Login.vue'

    const isWel = ref(true)
</script>

<style  scoped   lang="less">
.login-page{
    display: block;
    position: relative;
    height: 100%;
}
</style>
